]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspacesView: Remove dead code
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 11 Sep 2013 16:09:10 +0000 (12:09 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 1 Oct 2013 22:41:26 +0000 (18:41 -0400)
js/ui/workspacesView.js

index f4de48b14c0a7d1c11b23bb9aaad4fca7e7a4615..6ac7450cc3a62144cf16c8f615fe30f980fc0f12 100644 (file)
@@ -62,7 +62,6 @@ const WorkspacesView = new Lang.Class({
         this._animating = false; // tweening
         this._scrolling = false; // swipe-scrolling
         this._animatingScroll = false; // programatically updating the adjustment
-        this._zoomOut = false; // zoom to a larger area
         this._inDrag = false; // dragging a window
 
         this._settings = new Gio.Settings({ schema: OVERRIDE_SCHEMA });
@@ -168,14 +167,6 @@ const WorkspacesView = new Lang.Class({
             this._workspaces[i].setActualGeometry(geom);
     },
 
-    _lookupWorkspaceForMetaWindow: function (metaWindow) {
-        for (let i = 0; i < this._workspaces.length; i++) {
-            if (this._workspaces[i].containsMetaWindow(metaWindow))
-                return this._workspaces[i];
-        }
-        return null;
-    },
-
     getActiveWorkspace: function() {
         let active = global.screen.get_active_workspace_index();
         return this._workspaces[active];
@@ -433,10 +424,6 @@ const WorkspacesView = new Lang.Class({
             this._workspaces[i].actor.y += dy;
         }
     },
-
-    _getWorkspaceIndexToRemove: function() {
-        return global.screen.get_active_workspace_index();
-    }
 });
 Signals.addSignalMethods(WorkspacesView.prototype);